package com.bw.jetpacktest.room;

import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.Query;

import java.util.List;
//User... users可变参数
@Dao
public interface UserDao {

    @Query("select * from userentity")
    List<UserEntity>queryAll();

    @Insert
    void insertUser(UserEntity userEntity);

}
